export default url => {
    const crud = window.$crud(url)
    crud.getByCode = (code) => window.$axios({
        url: `${url}/code/${code}`,
        method: 'get',
    })

    return {
        ...crud,
    }
}

